/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 判断题管理Entity 判断题管理
 * @author admin
 * @version 2020-09-17 11:56:51
 */
@TableName(value = "t_bank_judge_que")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TBankJudgeQue extends IdEntity<TBankJudgeQue> {

	private static final long serialVersionUID = 1L;
	/** F_QUESTIONBANKID question_bank_id  :  题库编号 */
	public static final String F_QUESTIONBANKID = "questionBankId";
	/** F_CONTENT content  :  判断题内容 */
	public static final String F_CONTENT = "content";
	/** F_ANSWER answer  :  判断题答案 */
	public static final String F_ANSWER = "answer";
	/** F_COMPOSEFLAG compose_flag  :  是否被组成试卷 */
	public static final String F_COMPOSEFLAG = "composeFlag";
	/** F_ANSWEREXPLAIN answer_explain  :  题目解析 */
	public static final String F_ANSWEREXPLAIN = "answerExplain";
	/** F_PUBLISHFLAG publish_flag  :  是否发布 */
	public static final String F_PUBLISHFLAG = "publishFlag";


	/** questionBankId 题库编号 */@NotBlank @Size(max=50)
	@TableField("question_bank_id")
	private String questionBankId;
	/** content 判断题内容 */@Size(max=255)
	@TableField("content")
	private String content;
	/** answer 判断题答案 */@Size(max=255)
	@TableField("answer")
	private String answer;
	/** composeFlag 是否被组成试卷 */@Size(max=255)
	@TableField("compose_flag")
	private String composeFlag;
	/** answerExplain 题目解析 */@Size(max=255)
	@TableField("answer_explain")
	private String answerExplain;
	/** publishFlag 是否发布 */@Size(max=50)
	@TableField("publish_flag")
	private String publishFlag;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
